<!--
  Generated template for the CustomerOrderListPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title>我的订单</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding >
  <div class="w12 order_list">
    <div class="w12 order_list_item mb15" *ngFor="let all of Alls">
      <div class="w12 order_list_body bor_bottom">

        <div class="w12">
          <span style="font-size: 13px;">订单号：{{all.ORDERID}}</span>
        </div>
        <ng-container *ngFor="let sp of all.SPLB">
          <h3 class="w12">{{sp.CATEGORY_NAME}} {{sp.BRANDNAME}} {{sp.PRODUCT_NAME}}</h3>
        </ng-container>
        <span class="w12">下单时间：{{all.CREATED}}</span>
      </div>
      <div class="w12 order_list_bottom">
        <!--<button class="xuan" *ngIf="all.SFPJ=='0'" (click)="doComment(all)">评价</button>
        <button *ngIf="all.SFPJ=='1'">已评价</button>-->
        <button (click)="push('DetailsPage',all)">查看物流</button>
        <!--<button *ngIf="all.WORKER" (click)="contact(all.PARTYID_SF)">联系客服</button>-->
        <button (click)="watchAfterMarket(all)">申请售后</button>
      </div>
    </div>
    <div *ngIf="AllsConfig.isEnd==true" class="w12 mt20 mb20 tc font_gray">
      ------------------------ 已经到底了 ------------------------
    </div>
    <ion-infinite-scroll class="w12" (ionInfinite)="getMoreAlls($event)" threshold="100px"
                         [enabled]="!AllsConfig.isEnd">
      <ion-infinite-scroll-content loadingSpinner="bubbles" loadingText="数据加载中...">
      </ion-infinite-scroll-content>
    </ion-infinite-scroll>
  </div>
</ion-content>
